<!-- JavaScript -->
<script language="javascript1.2" type="text/javascript" src="/CommonClientScripts/dcl/choosedate.js"></script>
<script language="javascript1.2" type="text/javascript" src="/CommonClientScripts/BrowserCookies.js"></script>
<script language="javascript1.2" type="text/javascript">
new BrowserCookies().setCookie('MID', 'AVSERV', false, '/');
function SetUrl ( fileURL ) { document.getElementById('txtURL').value = fileURL; }
function OpenBrowser() { window.open('/LivingWeb/CMS/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php'); }
</script>

<!-- CSS -->
<link type="text/css" rel="stylesheet" href="/CommonClientScripts/dcl/calendar.css">
<style>
	.Field {
		font-size: 11px;
	}
	.FieldLabelTop {
		background-color:#ffffff;
		border-bottom: 1px solid #003a63;
		border-top: 1px solid #003a63;
		font-weight:bold;
		color: #003a63;
		font-size: 11px;
	}
	.FieldLabel {
		background-color:#ffffff;
		border-bottom: 1px solid #003a63;
		font-weight:bold;
		color: #003a63;
		font-size: 11px;
	}
	.FormRowTop {
		border-bottom: 1px solid #003a63;
		border-top: 1px solid #003a63;
		vertical-align: top;
	}
	.FormRow {
		background-color:#eaefee;
		border-bottom: 1px solid #003a63;
		vertical-align: top;
	}
	.ButtonRow {
		background-color:#ffffff;
	}
	.Button {
		font-size: 11px;
		width: 80px;
	}
</style>

<!-- Page Layout -->
<form action="" method="post" name="frmMediaItemAudio">
<input name="id" type="hidden" value="{FORM_ID}">
<input name="coll_id" type="hidden" value="{FORM_COLL_ID}">
<table cellpadding="5" cellspacing="0">
	<tr class="FormRow">
		<td colspan="2" align="right" class="ButtonRow">
			<input class="Button" type="button" onClick="if(confirm('Are you sure that you would like to delete this item?')){this.form.action=location.href+'&delete'; this.form.submit();}" value="Delete" id="DeleteButton1">&nbsp;
			<input class="Button" type="button" onClick="history.back();" value="Cancel">&nbsp;
			<input class="Button" type="button" onClick="this.form.action=location.href; this.form.submit();" value="OK"></td></tr>
	<tr class="FormRow">
		<td class="FieldLabelTop" width="130">Title</td>
		<td class="FormRowTop">
			<input name="title" type="text" class="Field" size="40" value="{FORM_TITLE}"></td></tr>
	<tr class="FormRow">
		<td class="FieldLabel">File</td>
		<td class="FormRow">
			<input name="url" type="text" size="50" id="txtURL" class="Field" value="{FORM_URL}">&nbsp;&nbsp;
			<input value="Browser" type="button" class="Button"	onClick="OpenBrowser()"></td></tr>
	<tr class="FormRow">
		<td class="FieldLabel">Speaker</td>
		<td class="FormRow"><input name="speaker" type="text" class="Field" value="{FORM_SPEAKER}"></td></tr>
	<tr class="FormRow">
		<td class="FieldLabel">Date</td>
		<td class="FormRow"><input name="date" type="text" class="Field" value="{FORM_DATE}"> 
		<script language="javascript" language="javascript1.2">
			new calendar("FIELD:document.frmMediaItemAudio.date;FORMAT:2;DELIMITER:-;").writeCalendar();
		</script></td></tr>
	<tr class="FormRow">
		<td class="FieldLabel">Time</td>
		<td class="FormRow">
			<select name="time" class="Field">
				<option value="10:00:00">10:00AM</option>
				<option value="8:30:00">8:30AM</option>
			</select></td></tr>
	<tr class="FormRow">
		<td colspan="2" align="right" class="ButtonRow">
			<input class="Button" type="button" onClick="if(confirm('Are you sure that you would like to delete this item?')){this.form.action=location.href+'&delete'; this.form.submit();}" value="Delete" id="DeleteButton2">&nbsp;
			<input class="Button" type="button" onClick="history.back();" value="Cancel">&nbsp;
			<input class="Button" type="button" onClick="this.form.action=location.href; this.form.submit();" value="OK"></td></tr>
</table>